openapi: 3.0.1
info:
title: ''
description: ''
version: 1.0.0
paths:
/v1beta/models/gemini-2.5-flash:generateContent:
post:
summary: 文本生成(PDF)
deprecated: false
description: 需单独切换Google Gemini格式分组调用
tags:
- 模型接口/Google Gemini/Google Gemini接口
parameters:
- name: Authorization
in: header
description: ''
required: true
example: sk-
schema:
type: string
default: sk-
requestBody:
content:
application/json:
schema:
type: object
properties:
contents:
type: array
items:
type: object
properties:
parts:
type: array
items:
type: object
properties:
text:
type: string
x-apifox-orders:
- text
required:
- text
x-apifox-orders:
- parts
required:
- parts
x-apifox-orders:
- contents
required:
- contents
example:
contents:
- role: user
parts:
- text: 理解以下PDF,并解释内容
- inline_data:
mime_type: application/pdf
data: /9fsalfn
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties: {}
headers: {}
x-apifox-name: 成功
security: []
x-apifox-folder: 模型接口/Google Gemini/Google Gemini接口
x-apifox-status: released
x-run-in-apifox: https://app.apifox.com/web/project/5503894/apis/api-404528527-run
components:
schemas: {}
securitySchemes: {}
servers:
- url: '{{base_url}}'
description: 测试环境
- url: https://newapi.eronmind.com
description: 正式环境
security: []